﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.master" AutoEventWireup="true"
    CodeFile="HangXe.aspx.cs" Inherits="HangXe" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:MultiView ID="Multiview1" runat="server">
        <asp:View ID="View1" runat="server">
            <asp:GridView ID="GridView1" runat="server" AllowPaging="true" 
                BackColor="White" BorderColor="#999999"
                BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black" GridLines="Vertical"
                OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
                Width="100%" onpageindexchanging="GridView1_PageIndexChanging">
                <RowStyle HorizontalAlign="Center" />
                <Columns>
                    <asp:CommandField ShowEditButton="True" />
                    <asp:CommandField ShowDeleteButton="True" />
                </Columns>
                <FooterStyle BackColor="#CCCCCC" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="#CCCCCC" />
            </asp:GridView>
            <br />
            &nbsp;<asp:Button ID="Button4" runat="server" Text="Thêm m&#7899;i" Width="120px" OnClick="Button4_Click" />
        </asp:View>
        <asp:View ID="View2" runat="server">
            <fieldset>
                <legend>Chi Ti&#7871;t Hãng Xe</legend>
                <table border="0" cellpadding="5" cellspacing="0" style="width: 350px; text-align: center">
                    <tr>
                        <td>
                            Mã Hãng
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" Style="margin-left: 0px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Tên Hãng
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox2" runat="server" Style="margin-left: 0px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="Button2" runat="server" Text="UpDate" OnClick="Button2_Click" />
                        </td>
                        <td style="text-align: left">
                            <asp:Button ID="Button3" runat="server" Text="List" Width="67px" OnClick="Button3_Click" />
                        </td>
                    </tr>
                </table>
            </fieldset>
        </asp:View>
    </asp:MultiView>
</asp:Content>
